.class public Lcom/trademob/tracking/TMInstallBroadcastReceiver;
.super Landroid/content/BroadcastReceiver;
.source "TMInstallBroadcastReceiver.java"


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 10
    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 6
    .parameter "aContext"
    .parameter "aIntent"

    .prologue
    .line 22
    :try_start_0
    invoke-virtual {p2}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;

    move-result-object v4

    const-string v5, "referrer"

    invoke-virtual {v4, v5}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 23
    .local v0, data:Ljava/lang/String;
    new-instance v3, Lcom/trademob/tracking/TMUniversalTrackingInternal;

    invoke-direct {v3, p1}, Lcom/trademob/tracking/TMUniversalTrackingInternal;-><init>(Landroid/content/Context;)V

    .line 24
    .local v3, uTracking:Lcom/trademob/tracking/TMUniversalTrackingInternal;
    invoke-virtual {v3, v0}, Lcom/trademob/tracking/TMUniversalTrackingInternal;->trackReferrerStart(Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 33
    .end local v0           #data:Ljava/lang/String;
    .end local v3           #uTracking:Lcom/trademob/tracking/TMUniversalTrackingInternal;
    :goto_0
    return-void

    .line 26
    :catch_0
    move-exception v1

    .line 29
    .local v1, e:Ljava/lang/Exception;
    new-instance v2, Lcom/trademob/tracking/TMErrorTracker;

    new-instance v4, Lcom/trademob/tracking/TMUtility;

    invoke-direct {v4, p1}, Lcom/trademob/tracking/TMUtility;-><init>(Landroid/content/Context;)V

    invoke-direct {v2, v4}, Lcom/trademob/tracking/TMErrorTracker;-><init>(Lcom/trademob/tracking/TMUtility;)V

    .line 30
    .local v2, et:Lcom/trademob/tracking/TMErrorTracker;
    const-string v4, "TMInstallBroadcastReceiver.onReceive"

    const-string v5, "context-intent"

    invoke-virtual {v2, v1, v4, v5}, Lcom/trademob/tracking/TMErrorTracker;->addStandardData(Ljava/lang/Exception;Ljava/lang/String;Ljava/lang/String;)V

    .line 31
    invoke-virtual {v2}, Lcom/trademob/tracking/TMErrorTracker;->sendErrorData()V

    goto :goto_0
.end method
